package com.wsj.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.wsj.util.page.PageResultSet;
import com.wsj.web.vo.homeSite.BmClassType;
import com.wsj.web.vo.homeSite.BmNewsType;

public interface IBmClassTypeDao {
	void add(BmClassType bmClassType)throws DataAccessException;
	void delete(Integer id)throws DataAccessException;
	void update(BmClassType bmClassType)throws DataAccessException;
	BmClassType getBmClassTypeById(Integer id)throws DataAccessException;
	BmClassType getBmClassTypeByClassTypeName(String  classTypeName)throws DataAccessException;
	
	PageResultSet loadBmClassTypeByParam(String classTypeName,int page,int pageSize)throws DataAccessException;
	
	
	List loadAllBmClassType()throws DataAccessException;
	BmClassType loadBmClassTypeByNameDao(String name)throws DataAccessException;

}
